
public class treemonk {
    public static void main(String[] args) {
        int monk1 = 150;
        int monk2 = 165;
        int monk3 = 210;
        int monk1andmonk2max = monk1 > monk2 ? monk1 : monk2;
        int monktop = monk1andmonk2max > monk3 ? monk1andmonk2max : monk3;
        System.out.println("monktop:" + monktop);

    }
}
